package cn.apthink.controller.system;

import java.util.ArrayList;
import java.util.List;

import lombok.Data;

/**
 * 在线会话类
 * 
 * @author David唐
 * @createdate 2024年2月5日
 */

@Data
public class VOnine {
	private String userid;
	private String account;
	private String username;
	private List<VOnlineDetail> details;

	public void addDetail(VOnlineDetail detail) {
		if (details == null)
			details = new ArrayList<VOnlineDetail>();
		details.add(detail);
	}
}
